var Index = require('../controller/web/index');



module.exports = function(app) {
  //首页
  app.get('/', Index.index);
	app.get('/index', Index.index2);

  
  
  





  //首页获取新闻
  app.get('/web/get_news0', Index.get_news0);
  app.get('/web/get_news1', Index.get_news1);
  app.get('/web/get_news2', Index.get_news2);
  app.get('/web/get_news3', Index.get_news3);
  //分类获取新闻
  app.post('/web/get_news_by_Category', Index.get_news_by_Category);
	app.post('/web/get_news_by_Category1', Index.get_news_by_Category1);
  //新闻中心
  app.get('/company_dynamic/:value', Index.company_dynamic);
  
  
  
  
  //获取企业动态
  app.get('/news_detail/:id', Index.get_news_detail);
  //获取企业动态
  app.post('/news_detail/:id', Index.post_news_detail);
   //获取企业动态
  app.get('/news_detail1/:id', Index.get_news_detail1);
  //获取企业动态
  app.post('/news_detail1/:id', Index.post_news_detail1);
  //获取企业动态
  app.get('/company/:category', Index.get_introduction);
  //获取企业动态
  app.post('/company/:category', Index.post_introduction);



//业界荣誉
  app.get('/honor_dynamic/:value', Index.honor_dynamic);
	app.post('/web/get_honor_by_Category1', Index.get_honor_by_Category1);
	app.get('/honor_detail1/:id', Index.get_honor_detail1);
  //获取企业动态
app.post('/honor_detail1/:id', Index.post_honor_detail1);


//业界荣誉
  app.get('/certificate_dynamic/:value', Index.certificate_dynamic);
  app.post('/web/get_certificate_by_Category1', Index.get_certificate_by_Category1);
  app.get('/certificate_detail1/:id', Index.get_certificate_detail1);
  //获取企业动态
app.post('/certificate_detail1/:id', Index.post_certificate_detail1);
//招聘
  app.get('/recruit_dynamic/:value', Index.recruit_dynamic);
  app.post('/web/get_recruit_by_Category1', Index.get_recruit_by_Category1);
  app.get('/submit_information', Index.submit_information);
  app.post('/submit_information', Index.submit_information1);
  app.get('/company_info/:tag', Index.company_info);
  //获取企业动态
  app.get('/recruit/:category', Index.get_recruit);
  //获取企业动态
  app.post('/recruit/:category', Index.post_recruit);
  
  
  //企业文化
  app.get('/cultrue_dynamic/:value', Index.cultrue_dynamic);
  app.post('/web/get_cultrue_by_Category1', Index.get_cultrue_by_Category1);
  app.get('/cultrue_detail1/:id', Index.get_cultrue_detail1);
  //获取企业动态
app.post('/cultrue_detail1/:id', Index.post_cultrue_detail1);


//党支部
  app.get('/party_dynamic/:value', Index.party_dynamic);
  app.post('/web/get_party_by_Category1', Index.get_party_by_Category1);
  app.get('/party_detail1/:id', Index.get_party_detail1);
  //获取党支部动态
  app.post('/party_detail1/:id', Index.post_party_detail1);
  
  
  //创新科技
  app.get('/technology_dynamic/:value', Index.technology_dynamic);
  app.post('/web/get_technology_by_Category1', Index.get_technology_by_Category1);
  app.get('/technology_detail1/:id', Index.get_technology_detail1);
  //获取创新科技动态
  app.post('/technology_detail1/:id', Index.post_technology_detail1);
  
  //房地产
  app.get('/estate_dynamic/:value', Index.estate_dynamic);
  app.post('/web/get_estate_by_Category1', Index.get_estate_by_Category1);
  app.get('/estate_detail1/:id', Index.get_estate_detail1);
  //获取房地产动态
  app.post('/estate_detail1/:id', Index.post_estate_detail1);
  
  //物业
  app.get('/property_dynamic/:value', Index.property_dynamic);
  app.post('/web/get_property_by_Category1', Index.get_property_by_Category1);
  app.get('/property_detail1/:id', Index.get_property_detail1);
  //获取物业动态
  app.post('/property_detail1/:id', Index.post_property_detail1);
};